package top.healthylife.gateway.platform.softwind.api.api.enterpriseinfo;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.softwind.api.util.WindHttpUtil;
import top.healthylife.gateway.platform.softwind.dto.basedto.req.SoftWindUnifyReqDto;
import top.healthylife.gateway.platform.softwind.dto.res.WindResTaxEnterpriseInfoDto;

/**
 * @author : GaoZeXi by {@link BuildDtoUtil}
 * @date 2021/7/14 17:47
 */
@Slf4j
@Service
@ApiServiceExplain( docUrl="https://wfq2020.com/channel-admin/#/login", price = 20,apiName = "基本信息表接口-V2", info = "基本信息表接口-V2")
public class WindTaxEnterpriseInfoApi implements ParentFace<SoftWindUnifyReqDto, WindResTaxEnterpriseInfoDto> {

    static final String URL = "/wuneng-web-api/v2/api/enterprise/getTaxEnterpriseInfo";

    @Override
    public WindResTaxEnterpriseInfoDto execute(SoftWindUnifyReqDto softWindUnifyReqDto){
        return WindHttpUtil.httpRequest(softWindUnifyReqDto,URL,WindResTaxEnterpriseInfoDto.class);
    }
}
